//package com.naiterui.ehp.bs.search.dao.impl;
//
//import com.naiterui.common.repository.hibernate.DefaultBaseDaoImpl;
//import com.naiterui.common.repository.page.Page;
//import com.naiterui.ehp.bs.search.entity.SearchDrStandardDiagnosis;
//import com.naiterui.ehp.bs.search.dao.IDrStandardDiagnosisDao;
//
//import org.springframework.stereotype.Repository;
//
//import java.util.List;
//
//@Repository
//public class SearchDrStandardDiagnosisDaoImpl extends DefaultBaseDaoImpl<SearchDrStandardDiagnosis, Long> implements IDrStandardDiagnosisDao {
//
//
//    @Override
//    public Page<SearchDrStandardDiagnosis> findByPage(int page, int num) {
//        return super.pagedQuery("from DrStandardDiagnosis ", page, num);
//    }
//
//    @Override
//    public List<String> getAllNames() {
//        String sql = "select name from dr_standard_diagnosis";
//        return super.sqlQuery(String.class, sql);
//    }
//
//}